memory network lm.tex (623B)
1 \begin{tikzpicture} 2 \memorynetwork{(1.25,-0.5)}{1}[1]; 3 \memorynetwork{(1.25,1.35)}{2}[2]; 4 5 \node[below of=q1] (qh) {\(0.1\)}; 6 \node (wi) at (2.5, 3) {\(\hat{w}_t\)}; 7 \node (xim1) at (1.5, 3) {\(\vctr{x}_{t-1}\)}; 8 \node at (0.5, 3) {\(\cdots\)}; 9 \node (x1) at (-0.5, 3) {\(\vctr{x}_1\)}; 10 11 \draw[arrow] (qh) -- (q1); 12 \draw[arrow] (o1) -- (q2); 13 \draw[arrow] (o2) -- (wi); 14 15 \draw[memorybrace] (xim1.south east) -- (x1.south west) coordinate[midway,yshift=-5] (ylti); 16 17 \draw[arrow,rounded corners=5pt] (ylti) -- (ylti|-m1) -- (m1); 18 \draw[arrow,rounded corners=5pt] (ylti) -- (ylti|-m2) -- (m2); 19 \end{tikzpicture}%